package ipt.capitulo22;
import java.awt.*;
import java.applet.*;
import javax.swing.*;
public class ImagenApplet extends JApplet{
	int anchoVentana = 400;
	int altoVentana = 400;
	Image imagen;
	public void init(){
		setBackground(Color.white);
		imagen = getImage(
			getDocumentBase(),"Cuadro_Gaviotas.jpg");
		resize(anchoVentana,altoVentana);
	}
	public void paint(Graphics g){
		g.drawImage(imagen,0,0,this);
	}
}
